package com.example.springbootdemo.mall.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.Date;

/**
 *@author xuwangqi
 *@date 2021/5/24 9:28
 **/
/**
    * 品牌表
    */
@ApiModel(value="com-example-springbootdemo-entity-Brand")
@TableName(value = "brand")
public class Brand {
    /**
     * 品牌id
     */
    @TableId(value = "id", type = IdType.INPUT)
    @ApiModelProperty(value="品牌id")
    private Integer id;

    /**
     * 品牌名称
     */
    @TableField(value = "name")
    @ApiModelProperty(value="品牌名称")
    private String name;

    /**
     * 品牌图片地址
     */
    @TableField(value = "image")
    @ApiModelProperty(value="品牌图片地址")
    private String image;

    /**
     * 品牌首字母
     */
    @TableField(value = "letter")
    @ApiModelProperty(value="品牌首字母")
    private String letter;

    @TableField(value = "gmt_create")
    @ApiModelProperty(value="")
    private Date gmtCreate;

    @TableField(value = "gmt_modified")
    @ApiModelProperty(value="")
    private Date gmtModified;

    public static final String COL_ID = "id";

    public static final String COL_NAME = "name";

    public static final String COL_IMAGE = "image";

    public static final String COL_LETTER = "letter";

    public static final String COL_GMT_CREATE = "gmt_create";

    public static final String COL_GMT_MODIFIED = "gmt_modified";

    /**
     * 获取品牌id
     *
     * @return id - 品牌id
     */
    public Integer getId() {
        return id;
    }

    /**
     * 设置品牌id
     *
     * @param id 品牌id
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 获取品牌名称
     *
     * @return name - 品牌名称
     */
    public String getName() {
        return name;
    }

    /**
     * 设置品牌名称
     *
     * @param name 品牌名称
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * 获取品牌图片地址
     *
     * @return image - 品牌图片地址
     */
    public String getImage() {
        return image;
    }

    /**
     * 设置品牌图片地址
     *
     * @param image 品牌图片地址
     */
    public void setImage(String image) {
        this.image = image;
    }

    /**
     * 获取品牌首字母
     *
     * @return letter - 品牌首字母
     */
    public String getLetter() {
        return letter;
    }

    /**
     * 设置品牌首字母
     *
     * @param letter 品牌首字母
     */
    public void setLetter(String letter) {
        this.letter = letter;
    }

    /**
     * @return gmt_create
     */
    public Date getGmtCreate() {
        return gmtCreate;
    }

    /**
     * @param gmtCreate
     */
    public void setGmtCreate(Date gmtCreate) {
        this.gmtCreate = gmtCreate;
    }

    /**
     * @return gmt_modified
     */
    public Date getGmtModified() {
        return gmtModified;
    }

    /**
     * @param gmtModified
     */
    public void setGmtModified(Date gmtModified) {
        this.gmtModified = gmtModified;
    }
}